.selector {
    display: inline-block;
    line-height: 2.5rem;
    border: 0.1rem solid #348fe2;
    border-radius: 0.3rem;
    position: relative;
    z-index: 1000;
    text-align: left;
}

.selector > .selected {
    width: 100%;
    user-select: none;
    margin: 0 2.6rem 0 1rem;
    color: #348fe2;
}

.selector i {
    background-color: #348fe2;
    color: white;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    line-height: 2.5rem;
    border-left: 0.1rem solid #EEEEEE50;
}

.selector.expanding {
    z-index: 1100;
}

.selector.expanding i {
    transform: rotate(-180deg);
    border-left-width: 0;
    border-right: 0.1rem solid #EEEEEE50;
}

.selector > .dropdown {
    position: absolute;
    top: 2.4rem;
    left: 0;
    background-color: white;
    border: 0.1rem solid #CCCCCC;
    border-radius: 0.3rem;
    white-space: nowrap;
    display: none;
}

:host-context(.position-right) .selector > .dropdown {
    left: inherit;
    right: 0;
}

.selector.expanding > .dropdown {
    display: inherit;
}

.selector > .dropdown > li {
    line-height: 2.0rem;
    padding: 0.2rem 1rem!important;
    cursor: pointer;
    margin: 0!important;
    font-size: 1.4rem!important;
}

.selector .dropdown > li:nth-child(odd) {
    background-color: #f3f6f750!important;
}

.selector > .dropdown > li:hover {
    background-color: #f3f6f7!important;
}

.selector.button {
    background-color: #348fe2;
}

.selector.button > .selected {
    cursor: pointer;
    color: white;
}

.selector.button > .selected > i {
    border-left: 0.1rem solid #CCCCCC80;
}
